﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Taobao.Tools2.Domain.EntityFramework.Mappings
{
    public class SalePayMapping : ModelMapping<SalePay>
    {
        public SalePayMapping()
            : base()
        {
            Map(d => d.ToTable("Salepay"));
            Property(c => c.ExpressCompanyID).HasColumnName("kdgs");
            Property(c => c.ExpressNumber).HasColumnName("kdgsdh");
            Property(c => c.OrderType).HasColumnName("ordertype");
            Property(c => c.TradeID).HasColumnName("tradeid");
            Property(c => c.Stats).HasColumnName("stats");

            Property(c => c.ID).HasColumnName("id");
            HasKey(c => c.ID);
        }
    }
}
